<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?=$title?></title>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="author" content="Erwin Aligam - styleshout.com" />
<meta name="description" content="Site Description Here" />
<meta name="keywords" content="keywords, here" />
<meta name="robots" content="index, follow, noarchive" />
<meta name="googlebot" content="noarchive" />

<link rel="stylesheet" type="text/css" media="screen" href="<?= base_url()?>themes/default/css/screen.css" />


</head>
<body>
<?php $userclass = $this->session->userdata('DX_userclass');
	$subject_science = $this->session->userdata('DX_science');
	$subject_technology = $this->session->userdata('DX_technology');
	$subject_english = $this->session->userdata('DX_english');
	$subject_math = $this->session->userdata('DX_math');

	$uid=$this->session->userdata('DX_user_id');
	$username= $this->session->userdata('DX_username'); ?>
	<!-- header starts-->
	<div id="header-wrap"><div id="header" class="container_16">						
		
				<h1 id="logo-text"><a href="<?=base_url()?>" title=""><?=$this->session->userdata('BLOGName')?></a></h1>		
		<!--<p >< ?  =$this->session->userdata('BLOGTitle')?></p>	 -->
		
		<!-- navigation -->
		<div  id="nav">
			 <ul id="cssdropdown">
				<li class="current"><a href="<?=base_url()?>">Home</a></li>
                <li class="normal"><a href="<?=site_url()?>/board" >Student's Corner</a></li>
                <li class="normal"><a href="<?=site_url()?>/blog" >Teacher's Corner</a></li>
                <li class="normal"><a href="<?=site_url()?>/kb" >Knowledge Base</a></li>
              	<li class="normal"><a href="<?=site_url()?>/users/goforchat" >e Library</a></li>
                <li class="normal"><a href="<?=site_url()?>/users/goforchat" >Chat</a></li>
			</ul>
		</div>		
		
		
					
	
	<!-- header ends here -->
	</div></div>
	
	<!-- content starts -->
	<div id="content-outer"><div id="content-wrapper" class="container_16">
	
		<!-- main -->
		<div id="main" class="grid_8">
				
		<?php echo $content; ?>
          
	        
		<!-- main ends -->	
        
       
		</div>
        
        
        <!-- left-columns starts -->
		<div id="left-columns" class="grid_8">
		
			<div class="grid_4 alpha">
			
				<div class="sidemenu">	
					&nbsp;
				</div>
			
				
		
			</div>
		
			<div class="grid_4 omega">
		
				<h3>My Area</h3>		
			
				<div class="sidemenu">
				
					<ul>
					<li><a href="<?=site_url()?>">Home</a></li>
					<li><a href="<?=site_url()?>/users/controlpanel">Control Panel</a>
					<ul>
						<li><?php if($subject_math){?>	 <a href="<?=site_url()?>/users/viewscience">Science</a> <?php }	else { ?> Science	<?php }	?> </li>
						<li><?php if($subject_technology){?> <a   href="<?=site_url()?>/users/viewtechnology">Technology</a><?php }	else { ?>	Technology<?php }?> </li>
	 				    <li><?php if($subject_english){ ?>  <a  href="<?=site_url()?>/users/viewengineering">English</a> <?php } else	{ ?>English <?php }?> </li>
					    <li><?php if($subject_math)	{?> <a   href="<?=site_url()?>/users/viewmaths">Maths</a> <?php	} else { ?>Maths<?php } ?> </li>
				    </ul>
					</li>
					<li><a href="<?=site_url()?>/users/eclass" >E-Class</a></li>
			  
	  	   			<li id="nav-graduate"><a href="#">Activities</a>
                    <ul>
                        <li><a href="<?=site_url()?>/users/goforchat" >Chat</a></li>
                        <li><a href="<?=site_url()?>/blog" >Teacher's Corner</a></li>
                        <li><a href="<?=site_url()?>/board" >Student's Corner</a></li>
                      <li><a href="<?=site_url()?>/users/teachermail" >Connect Mentor</a></li>
                    </ul>
		            </li>
        		  <li id="nav-graduate"><a href="#">Exams</a>
            		<ul>
                        <li><a href="<?=site_url()?>/users/studenttest">Give Test</a></li>
	                    <li><a href="<?=site_url()?>/users/viewresult">View Results</a></li>
					</ul>
        		  </li>
				  <li id="nav-graduate"><a href="#">Profile</a>
            	  <ul>
                	<li><a href="<?=site_url()?>/users/viewprofile">View Profile</a></li>
					<li><a href="<?=site_url()?>/users/editprofile">Edit Profile</a></li>
	          	 </ul>
          		 </li>
		  		<li id="nav-home"><a href="<?=site_url()?>/auth/logout">Logout</a></li>
			</ul>
				
				</div>
		
				
			</div>	
		
		<!-- end left-columns -->
		</div>		
        
        
        
        </div></div>
		
		
				

	<!-- footer starts here -->
    <div id="outer-footer">	
	<div id="footer-wrapper" class="container_16">
	
		<div id="footer-content">
		
			<div class="grid_8">
		
		 <table width="80%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="swatstrength"><strong >STRENGTH</strong><br />
    <span style="color:#000000;">Science,Maths</span>    </td>
    <td class="swatweakness"><strong ><span style="color:#FF0033;">WEAKNESS</span></strong><br />
English</td>
  </tr>
  <tr>
    <td class="swatoppr"><strong><span style="color:#FFFF00;">OPPORTUNITY</span></strong><br />
<span style="color:#000000;">Technology</span></td>
    <td class="swatthreat"><strong>THREAT</strong></td>
  </tr>
</table>
            
						
			</div>
			
			<div class="grid_8">
					
				&nbsp;
                
					
			</div>	
		
		</div>
	
		<div id="footer-bottom">
	
			<p class="bottom-left">			
			&nbsp; &copy;2008 All your copyright info here &nbsp; &nbsp;
			Design by : <a href="http://www.styleshout.com/">styleshout</a>												
			</p>	
			
			<p class="bottom-right" >
				<a href="index.html">Home</a> |
				<a href="index.html">Sitemap</a> |
				<a href="index.html">RSS Feed</a> |						
				<a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> | 
		   	<a href="http://validator.w3.org/check/referer">XHTML</a>
			</p>
	
		</div>	
			
	</div>
    </div>
	<!-- footer ends here -->

</body>
</html>
